using System;

namespace Camalon.Drawing.Samples.CSharp
{
	/// <summary>
	/// Summary description for MacroShapeContainer.
	/// </summary>
	[System.ComponentModel.ToolboxItem( true )]
	public class ContainerText:Camalon.Drawing.ShapeContainer
	{
		internal Camalon.Drawing.ShapePen rectPen;
        internal Camalon.Drawing.LinearGradientFill rectTextPenFill;
        private Camalon.Drawing.Shapes.RectangleShape textRect;
        private Camalon.Drawing.Shade contTextShade;
        private Camalon.Drawing.ShapePen contTextPen;
		private Camalon.Drawing.ShapePen rectTextPen;
	
		public ContainerText()
		{
			//
			// TODO: Add constructor logic here
			//
			InitializeComponent();
		}

		private void InitializeComponent()
		{
            this.rectPen = new Camalon.Drawing.ShapePen();
            this.rectTextPenFill = new Camalon.Drawing.LinearGradientFill();
            this.rectTextPen = new Camalon.Drawing.ShapePen();
            this.textRect = new Camalon.Drawing.Shapes.RectangleShape();
            this.contTextShade = new Camalon.Drawing.Shade();
            this.contTextPen = new Camalon.Drawing.ShapePen();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            // 
            // rectPen
            // 
            this.rectPen.Compounds = new int[] {
        0,
        20,
        30,
        70,
        80,
        100};
            this.rectPen.Fill = this.rectTextPenFill;
            this.rectPen.LineJoin = System.Drawing.Drawing2D.LineJoin.Round;
            this.rectPen.Width = 15F;
            // 
            // rectTextPen
            // 
            this.rectTextPen.ForegroundPen = false;
            this.rectTextPen.Width = 3F;
            // 
            // textRect
            // 
            this.textRect.Font = new System.Drawing.Font("Arial Rounded MT Bold", 60F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.textRect.Pen = this.rectPen;
            this.textRect.Position = new System.Drawing.Point(132, 159);
            this.textRect.Size = new System.Drawing.Size(687, 248);
            this.textRect.Text = "SHAPE";
            this.textRect.TextFill = this.rectTextPenFill;
            this.textRect.TextFormat.Alignment = System.Drawing.ContentAlignment.TopCenter;
            this.textRect.TextFormat.TextDirection = Camalon.Drawing.TextDirection.VerticalBottomToTop;
            this.textRect.TextFormat.Typographic = true;
            this.textRect.TextPen = this.rectTextPen;
            // 
            // contTextShade
            // 
            this.contTextShade.Pen = this.contTextPen;
            this.contTextShade.Repeat = 10;
            // 
            // contTextPen
            // 
            this.contTextPen.Color = new Camalon.Drawing.TransparentColor(System.Drawing.Color.Silver);
            // 
            // ContainerText
            // 
            this.Font = new System.Drawing.Font("Elephant", 128F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Position = new System.Drawing.Point(82, 37);
            this.Shapes.AddRange(new Camalon.Drawing.Shape[] {
            this.textRect});
            this.Size = new System.Drawing.Size(879, 469);
            this.Text = "SHAPE";
            this.TextFormat.Typographic = true;
            this.TextPen = this.contTextPen;
            this.TextShade = this.contTextShade;
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();

		}
	}


}
